import { flatten } from 'flat';

export default flatten({
  result: 'Result',
  banner: {
    id: 'ID',
    type: 'Type',
    picture: 'Picture',
    href: 'Href',
    sort: 'Sort',
    status: 'Status',
    createTime: 'Create Time',
    method: 'Action',
    add: 'Add',
    find: 'Find',
    edit: 'Edit',
    del: 'Delete',
    reset: 'Reset',
  },
  brand: {
    id: 'ID',
    name: 'Name',
    abbreviation: 'Abbreviation',
    sort: 'Sort',
    status: 'Status',
    method: 'Action',
    add: 'Add',
    find: 'Find',
    edit: 'Edit',
    del: 'Delete',
    reset: 'Reset',
    label: 'Please input name',
  },
  category: {
    id: 'ID',
    name: 'Name',
    abbreviation: 'Abbreviation',
    sort: 'Sort',
    status: 'Status',
    method: 'Action',
    add: 'Add',
    find: 'Find',
    edit: 'Edit',
    del: 'Delete',
    reset: 'Reset',
    label: 'Please input name',
    parent: 'Parent',
  },
  product: {
    id: 'ID',
    categoryName: 'Category',
    brand: 'Brand',
    name: 'Name',
    code: 'Code',
    price: 'Price',
    oriPrice: 'Original Price',
    stock: 'Stock',
    picture: 'Picture',
    video: 'Video',
    imgs: 'Photo Album',
    freightTemplateId: 'Freight',
    salesPolicy: 'After-sales service',
    label: 'Label',
    value: 'Value',
    link: 'Payment kit Link',
    linkPlaceholder: 'Please input Payment kit Link',
    detail: 'Item detail',
    salesVolume: 'Sales Volume',
    addedTime: 'Added Time',
    des: 'Item description',
    status: 'Status',
    createTime: 'Create Time',
    add: 'Add',
    find: 'Find',
    edit: 'Edit',
    del: 'Delete',
    reset: 'Reset',
    addTitle: 'Add Item',
    editTitle: 'Edit Item',
    submit: 'Submit',
    method: 'Action',
    spec: 'Specification',
    labelName: 'Please input name',
    attri: 'Attributes',
    sort: 'Sort',
  },
  spec: {
    id: 'ID',
    categoryName: 'Category',
    label: 'Label',
    val: 'Val',
    status: 'Status',
    createTime: 'Create Time',
    sort: 'Sort',
    method: 'Action',
    add: 'Add',
    find: 'Find',
    edit: 'Edit',
    del: 'Delete',
    reset: 'Reset',
    remark: 'Remark',
    labelInfo: 'Please input label',
  },
  shop: {
    info: 'Store Information',
    category: 'Recommended categories',
    products: 'Item Recommendations',
    freight: 'Freight',
    searchParam: 'Search Parameters',
    notice: 'Notice',
    base: {
      label: 'Hint',
      tip: 'Please configure store information',
      logoUrl: 'Store Logo',
      name: 'Store Name',
      des: 'Store Introduction',
      location: 'Store business address',
      tel: 'Store after-sales telephone',
      ctcInfo: 'Store contact information',
      ctcInfoPlaceholder: 'Please enter your contact information (email, fax, phone, letter, etc.)',
      createTime: 'Registration time',
      admin: 'Admin',
      admrName: 'Name',
      admrPhone: 'Phone',
      license: 'Store Qualification',
      imagesUrl: 'Store Album',
    },
    reCategory: {
      re: 'Recommended categories',
      category: 'Category',
      categoryName: 'Name',
      sort: 'Sort',
      createTime: 'Create Time',
      method: 'Action',
    },
    reProducts: {
      goods: 'Goods',
      picture: 'Picture',
      describe: 'Describe',
      price: 'Price',
      sort: 'Sort',
      categoryName: 'Category',
      name: 'Name',
      status: 'Status',
      createTime: 'Create Time',
      method: 'Action',
      edit: 'Edit',
      del: 'Delete',
      title1: 'Hot',
      title2: 'Recommend',
    },
    freights: {
      name: 'Name',
      freight: 'Delivery address',
      type: 'Shipping fee settings',
      type1: 'Tiered pricing',
      type2: 'Fixed shipping fee',
      type3: 'Seller free shipping',
      quantityWeight: 'Pricing method',
      radio: 'By number of pieces',
      label: 'Shipping Calculation',
      n1Before: 'Default is',
      n1After: 'piece or less',
      p1Before: 'Shipping fee',
      p1After: 'TBA',
      n2Before: 'Each additional',
      n2After: 'piece',
      p2Before: 'Add',
      p2After: 'TBA to freight',
      price: 'Fixed shipping fee',
      title: 'Freight Management',
      edit: 'Edit',
      del: 'Delete',
      method: 'Action',
      createTime: 'Create Time',
    },
    search: {
      txt: 'Parameter',
      sort: 'Sort',
      status: 'Status',
      createTime: 'Create Time',
      edit: 'Edit',
      del: 'Delete',
      method: 'Action',
      title: 'Search Parameters',
    },
  },
  notice: {
    id: 'ID',
    type: 'Type',
    title: 'Title',
    status: 'Status',
    createTime: 'Create Time',
    method: 'Action',
    add: 'Add',
    find: 'Find',
    edit: 'Edit',
    del: 'Delete',
    reset: 'Reset',
    detail: 'Content',
    sys: 'System',
    user: 'Users',
  },
  time: {
    seconds: ' second ago',
    minutes: ' minute ago',
    hours: ' hour ago',
    days: ' day ago',
    months: ' month ago',
  },
  front: {
    back: 'Back',
    payResult: 'Payment completed, please check the bill for details',
    selectCategory: 'Select Category',
    category: 'Category',
    search: 'Search',
    searchHis: 'Search History',
    reCategory: 'Recommended Category',
    hotProduct: 'Hot Products',
    reProduct: 'Recommended Products',
    sysNotice: 'System Notification',
    price: 'Price:',
    stock: 'Stock:',
    buy: 'Buy',
    detailTitle: 'Details',
    service: 'Item Service',
    backup: 'Backup Database',
  },
});
